package mianyang.zhangsan.com.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mianyang.zhangsan.com.pojo.Leave;

public interface LeaveService {
    void addLeave(Leave leave);

    Page<Leave> queryByPage(int page, int size, int studentId);

    void deleteLeave(int id);

    void updateLeave(int id, int studentId, String info);
}
